package com.lingyue.commons.constants;

/**
 * TODO
 *
 * @author DING DONG
 * @date 2020/2/26 22:49
 * @see
 * @since 1.0
 */
public class EsOppConstant {

    /**
     * 索引名
     */
    public static final String INDEX_NAME = "opportunities";

    /**
     * 类型名，高版本es已经逐渐废弃类型概念，默认为_doc
     */
    public static final String TYPE_NAME = "_doc";

    /**
     * scroll游标快照超时时间，单位ms
     */
    public static final long SCROLL_TIMEOUT = 3000;

    /**
     * scroll游标快照超时时间，单位ms
     */
    public static final long LONG_SCROLL_TIMEOUT = 1000 * 60;
}
